﻿<div class="pageContent">
	<form method="post" action="handle.php?m=catalog&c=add" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)" id="upform" enctype="multipart/form-data">
		<div class="pageFormContent">
			<table class="task" width="100%">				
				<tr>
					<td class="td1">栏目模型：</td>
					<td class="td2">
						<select name="type" class="required combox" curval="" ref="cid" rel="handle.php?m=ajax&ids={value}">
							<option value="">请选择栏目模型</option>
							<option value="news">评测导购</option>
							<option value="goods">发现好券</option>
							<option value="activity">特品特惠</option>
						</select>
						<ins>(数据模型，默认为新闻模型)</ins>
					</td>
				</tr> 
				<tr>
					<td class="td1">所属父栏目</td>
					<td class="td2">
						<select name="cid" class="required combox" curval="" id="cid">
							<option value="">请选择所属父栏目</option>
						</select>
						<ins>(数据模型，默认为新闻模型)</ins>
					</td>
				</tr> 				
				<tr>
					<td class="td1">频道节点名称：</td>
					<td class="td2">
						<input type="text" name="title" class="required short"/>
						<ins>(频道节点名称，建议用中文或英文表示)</ins>
					</td>
				</tr>
				<tr>
					<td class="td1">频道节点缩略图：</td>
					<td class="td2">
						<input name="litpic" id="litpic" type="text" class="normal" value=""/>
						<div class="buttonActive">
							<div class="buttonContent">
								<a class="upload" title="上传文件">本地上传...</a>
								<input type="file" id="upfiles" name="upfiles" value="" style="margin-left:-90px;width:90px;height:21px;background:transparent;text-indent:-9990px;" onchange="tps.upload('litpic','upfiles')"/>
							</div>
						</div>
						<iframe name="upfrm" style="display:none"></iframe>
						<ins style="display:block;clear:both">(频道节点缩略图，如有需要请上传)</ins>
					</td>
				</tr>  
				<tr>
					<td class="td1">排序号：</td>
					<td class="td2">
						<input type="text" name="pid" class="required digits short" />
						<ins>(频道节点排序所用，数字越小，排名越前)</ins>
					</td>
				</tr>				
				<tr>
					<td class="td1">SEO标题：</td>
					<td class="td2">
						<input  type="text" name="seotitle"/>
						<ins>(用于节点SEO优化)</ins>
					</td>
				</tr>
				<tr>
					<td class="td1">节点关键字：</td>
					<td class="td2">
						<input  type="text" name="keyword"/>
						<ins>(节点关键字，多个关键字用,隔开)</ins>
					</td>
				</tr>
				<tr>
					<td class="td1">节点描述：</td>
					<td class="td2">
						<textarea  name="keydesc" style="height:80px"></textarea>
					</td>
				</tr>
		</table>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
	</form>
</div>
